from tinkter import
print ('введите начальную координату x')
x = int (input( ))
print ('введите начальную координату y')
y = int (input ( ))
print ('введите коэффицент увеличения N')
N = int (input ( ))

coords = [0, 0, 10, 0, 10, 10, 20, 20, 0, 20]

if N == 0 and x>=0 and x<=500 and y>=0 and y<=500
     pass
else:
    if N > 0 and 0*N+x>=0 and 0*N+y>=0 and 20*N+x<=500 and20*N+Y<=500
     pass
else
if N < 0 and 20*N+x>=0 and 20*N+Y>0 and 0*N+x<=500
